/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bs.tableRenderer;

import java.awt.Component;
import javax.swing.JLabel;
import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;

/**
 *
 * @author Bone
 */
public class LinkLableRenderer extends JLabel implements TableCellRenderer{

    @Override
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
        setText(String.valueOf(value));
        return this;
    }

    @Override
    public void setText(String text) {
        super.setText("<html><font color=\"#0000CF\"><u>"+text+"</u></font></html>"); //To change body of generated methods, choose Tools | Templates.
    }
    
    
}
